#ifndef MY_NODE_H
#define MY_NODE_H

typedef struct node
{
	int _begin;
	int _end;
	int _childNum;
	int _right;
	int _child; // leftmost child
	int _parent;
} node;

void scanbuffer(char *buffer, int size);
int query(int line);
#endif
